package com.hehe.powernode.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-hehe-pojo-CategoryBrand")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "category_brand")
public class CategoryBrand implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Long id;

    /**
     * 分类id
     */
    @TableField(value = "category_id")
    @ApiModelProperty(value="分类id")
    private Long categoryId;

    /**
     * 品牌id
     */
    @TableField(value = "brand_id")
    @ApiModelProperty(value="品牌id")
    private Long brandId;

    private static final long serialVersionUID = 1L;
}